package com.huilian.iotbox.admin.quartz.job;

import com.huilian.iotbox.admin.service.StmtResultService;
import com.huilian.iotbox.data.utils.DateTimeUtils;
import lombok.extern.slf4j.Slf4j;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author 谢洛涛
 * @date 2021/9/27 17:49
 */
@Slf4j
public class MchFailQueryJob implements BaseJob {
    @Autowired
    private StmtResultService stmtResultService;
    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        stmtResultService.mchFailQuery();
        log.info("--------------定时任务 打款失败查询 end时间{}---------------", DateTimeUtils.currTime());
    }
}
